import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import consultingText from "../views/consultingText";
import doctor from "../views/form/doctor";

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/consultingText',
    name: 'consultingText',
    component: consultingText
  },
  {
    path: '/form/doctor',
    name: 'doctor',
    component: doctor
  }

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
